package com.deng.permission.dao;

import java.util.List;

import com.deng.permission.vo.UserVo;

public interface ILogin {

	public UserVo checkUser(String userName,String password);
	public UserVo checkUser(String userName);
	public int changePW(UserVo vo,String oldPW,String newPW);
	
	public List<UserVo> getAllUser();
	public int addUser(UserVo vo);
	public void updateUser(UserVo vo);
	
	
	
	public int addRule(UserVo vo,String type,int id);
	public int deleteRule(UserVo vo,String type,int id);
	
	public int loadkpiModifyRole(UserVo vo);
	public int functionModifyRole(UserVo vo);
	public int baseDictModifyRole(UserVo vo);
	public int baobiaoRole(UserVo vo);
	public int lingdaoRole(UserVo vo);
	public int shYicijiangjinRole(UserVo vo);
	public int jiangchengRole(UserVo vo);
	public int roleModifyRole(UserVo vo);
	public int pfkpiModifyRole(UserVo vo);
	public int pfgongzuoModifyRole(UserVo vo);
	public int shkpiModifyRole(UserVo vo);
	public int shgongzuoModifyRole(UserVo vo);
	
}
